<?php include_once($_SERVER['DOCUMENT_ROOT']."/controller/common/common_setting_unit.php"); ?>


<?php

session_start();

$cssNameList = implode(",",$_REQUEST['cssNameList']);
$mid = $_REQUEST['mid'];
$response_result = array('error' => 0, 'message' => '', 'content' => '');


//公用模式
global $table_Prefix;
$table = $table_Prefix."plate";
$sql = "UPDATE ".$table." SET display_swith = '".$cssNameList."' WHERE mid = '".$mid."'";
$query = mysql_query($sql) or die ($sql);
mysql_close($con);


$response_result['message'] = 'success';
die(json_encode($response_result));

?>